﻿using System;
using System.Collections.Generic;
using System.Text;
using YouHP.Utility;
using YouHP.BLL;
using System.Web;
using YouHP.Model;

namespace YouHP.Pages.User
{
    public class ActionSend : YouHP.Pages.User.UserBasePage
    {


        protected override void ShowPage()
        {
            base.ShowPage();
            if (ErrorCount > 0) return;

            HandleCommon();
            if (ErrorCount > 0) return;
            if (IsPost) HandlePost();
            else
                HandleGet();
        }

        protected void HandlePost()
        {

        }

        protected List<UserInfo> FriendList;
        protected int FriendCount;
        protected void HandleCommon()
        {
            this.AddLocation("发送互动", "");
            this.SetTitle("发送互动");
            this.AddScriptSrc("/support/Alpha/Js/mootools.js");
            FriendList = FriendBLL.Instance.GetFriendList(10000000, 1, UserData.Id, Constants.FriendPass, out FriendCount);

        }


        protected void HandleGet()
        {


        }
    }
}

